package com.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wty
 * @since 2021-11-20
 */
@Data
@Accessors(chain = true)
@TableName("shares_direction")
public class SharesDirection extends Model<SharesDirection> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String code;
    private String direction;
    @TableField("gd_name")
    private String gdName;
    @TableField("st_time")
    private String stTime;
    @TableField("en_time")
    private String enTime;
    @TableField("chang_num")
    private String changNum;
    private String zb;
    @TableField("no_time")
    private String noTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
